package service;

import java.util.List;

import dao.DataReplayDao;
import entity.DataReplay;

public class DataReplayService {
	
	private DataReplayDao dataReplayDao = new DataReplayDao();

	public void save(DataReplay dataReplay) {
		dataReplayDao.save(dataReplay);
		
	}

	public List<DataReplay> findDataReplayByDataid(String id) {
		
		return dataReplayDao.findDataReplayByDataid(id);
	}

	public void removeByDataid(String dataid) {
		
		dataReplayDao.removeByDataid(dataid);
	}

	
	
	
	
	
	
	
	
	

}
